package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Friendship;
import cn.wolfcode.trip.base.query.FriendshipQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FriendshipMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Friendship entity);

    Friendship selectByPrimaryKey(Long id);

    List<Friendship> selectAll();

    int updateByPrimaryKey(Friendship entity);

    List<Friendship> selectByUserIds(FriendshipQueryObject qo);

    List<Friendship> selectByfriendshipId(Long friendshipId);
}